package com.example.onlinetaxi.dto.OrderDto;

import java.util.Date;

public class CompletedOrderDto extends ReceivedOrderDto {
    private Integer completeOrderId;

    // 用户到达时间
    private Date arriveTime;

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public Integer getCompleteOrderId() {
        return completeOrderId;
    }

    public void setCompleteOrderId(Integer completeOrderId) {
        this.completeOrderId = completeOrderId;
    }

    @Override
    public String toString() {
        return "CompletedOrderDto{" +
                "completeOrderId=" + completeOrderId +
                ", arriveTime=" + arriveTime +
                '}';
    }
}